﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Blackbaud.AppFx.WebAPI.ServiceProxy;

namespace BBECServiceBusAdapter.Activities
{

    public sealed class AddressesFromDatalist : CodeActivity
    {
        // Define an activity input argument of type string
        public InArgument<DataListLoadReply> AddressesDataList { get; set; }
        public OutArgument<AddressUpdateRequest> myOutput;

        // If your activity returns a value, derive from CodeActivity<TResult>
        // and return the value from the Execute method.
        protected override void Execute(CodeActivityContext context)
        {

            AddressUpdateRequest ret = new AddressUpdateRequest();
            
            //Handle Rows in DataList and translate them into outputtype
            context.SetValue(myOutput, ret);
        }
    }
}
